package com.godofgamblers.hotelmanagementsystem.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommentPage implements Serializable {
    //当前页
    private int currentPage;
    //总的评论条数
    private int totalCount;
    //第一条数据的下标
    private int index;
    //总页数
    private int totalPage;

    public CommentPage(int currentPage, int index,int totalPage) {
        super();
        this.currentPage = currentPage;
        this.totalPage = totalPage;
        this.index = index;
    }

    public CommentPage(int currentPage, int commentNumber) {
    }
}
